package cn.kooki.app.duobao.core;

import android.support.multidex.MultiDexApplication;

import com.liulishuo.filedownloader.FileDownloader;
import com.socks.library.KLog;
import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.UMShareAPI;

import cn.jpush.android.api.JPushInterface;
import cn.kooki.app.duobao.BuildConfig;
import cn.kooki.app.duobao.data.constant.Constants;
import cn.kooki.app.duobao.util.manager.LoginManager;

/**
 * Created by xiong on 2015/12/23.
 */
public class CoreApp extends MultiDexApplication {

    @Override
    public void onCreate() {
        super.onCreate();
        KLog.init(BuildConfig.LOG_DEBUG);
        JPushInterface.init(this);
        JPushInterface.setDebugMode(BuildConfig.LOG_DEBUG);
        FileDownloader.init(this);
        PlatformConfig.setWeixin(Constants.APP_ID, Constants.APP_SECRET);
        //微信 appid appsecret
        PlatformConfig.setSinaWeibo("2004962112", "da096923c76ff51e040bd305d5582c70");
        //新浪微博 appkey appsecret
        PlatformConfig.setQQZone("1104955763", "dofueJ444SOCT1Hs");
//        PlatformConfig.setQQZone("1104955763", "dofueJ444SOCT1Hs");
        // QQ和Qzone appid appkey
    }
}
